package com.qmx.qmxapp.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @author chengxiangtong
 * @date 2018/11/6
 * version : 1.0
 * class describe：通讯录列表
 */
public class ContactModel implements Serializable {


    /**
     * eid : 100000
     * sha1 : e47c854edbb7c05bb2776bc2dd85e41cc4cf494b
     * content : {"name":"浙江星聚合智能科技有限公司","id":100000,"users":[{"id":2,"identifier":"5D1821064CF4519A","room_id":20000002,"name":"视频会议终端2","namecode":"shipinhuiyizhongduan2;sphyzd2","avatar":"/assets/img/device.png","is_device":"1","area_code":"","mobile":"","email":""},{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}],"discuss":[{"id":7,"eid":100000,"name":"讨论组7","users":[{"id":2,"identifier":"5D1821064CF4519A","room_id":20000002,"name":"视频会议终端2","namecode":"shipinhuiyizhongduan2;sphyzd2","avatar":"/assets/img/device.png","is_device":"1","area_code":"","mobile":"","email":""},{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}]},{"id":8,"eid":100000,"name":"讨论组8","users":[{"id":2,"identifier":"5D1821064CF4519A","room_id":20000002,"name":"视频会议终端2","namecode":"shipinhuiyizhongduan2;sphyzd2","avatar":"/assets/img/device.png","is_device":"1","area_code":"","mobile":"","email":""},{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}]},{"id":10,"eid":100000,"name":"啊是大","users":[{"id":2,"identifier":"5D1821064CF4519A","room_id":20000002,"name":"视频会议终端2","namecode":"shipinhuiyizhongduan2;sphyzd2","avatar":"/assets/img/device.png","is_device":"1","area_code":"","mobile":"","email":""},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}]}],"department":[{"id":1,"pid":0,"name":"软件事业部","users":[],"spacer":"","childlist":[{"id":3,"pid":1,"name":"PHP开发组","users":[{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}],"spacer":"","childlist":[]},{"id":4,"pid":1,"name":"大牛组","users":[{"id":2,"identifier":"5D1821064CF4519A","room_id":20000002,"name":"视频会议终端2","namecode":"shipinhuiyizhongduan2;sphyzd2","avatar":"/assets/img/device.png","is_device":"1","area_code":"","mobile":"","email":""},{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}],"spacer":"","childlist":[]},{"id":5,"pid":1,"name":"Java开发组","users":[{"id":2,"identifier":"5D1821064CF4519A","room_id":20000002,"name":"视频会议终端2","namecode":"shipinhuiyizhongduan2;sphyzd2","avatar":"/assets/img/device.png","is_device":"1","area_code":"","mobile":"","email":""},{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}],"spacer":"","childlist":[]}]},{"id":16,"pid":0,"name":"信息部","users":[],"spacer":"","childlist":[{"id":17,"pid":16,"name":"PHP技术部门","users":[{"id":2,"identifier":"5D1821064CF4519A","room_id":20000002,"name":"视频会议终端2","namecode":"shipinhuiyizhongduan2;sphyzd2","avatar":"/assets/img/device.png","is_device":"1","area_code":"","mobile":"","email":""},{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}],"spacer":"","childlist":[]},{"id":23,"pid":16,"name":"信息部2","users":[{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}],"spacer":"","childlist":[]}]}]}
     */

    private int eid;
    private String sha1;
    private Content content;

    public int getEid() {
        return eid;
    }

    public void setEid(int eid) {
        this.eid = eid;
    }

    public String getSha1() {
        return sha1;
    }

    public void setSha1(String sha1) {
        this.sha1 = sha1;
    }

    public Content getContent() {
        return content;
    }

    public void setContent(Content content) {
        this.content = content;
    }

    public static class Content {
        /**
         * name : 浙江星聚合智能科技有限公司
         * id : 100000
         * users : [{"id":2,"identifier":"5D1821064CF4519A","room_id":20000002,"name":"视频会议终端2","namecode":"shipinhuiyizhongduan2;sphyzd2","avatar":"/assets/img/device.png","is_device":"1","area_code":"","mobile":"","email":""},{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}]
         * discuss : [{"id":7,"eid":100000,"name":"讨论组7","users":[{"id":2,"identifier":"5D1821064CF4519A","room_id":20000002,"name":"视频会议终端2","namecode":"shipinhuiyizhongduan2;sphyzd2","avatar":"/assets/img/device.png","is_device":"1","area_code":"","mobile":"","email":""},{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}]},{"id":8,"eid":100000,"name":"讨论组8","users":[{"id":2,"identifier":"5D1821064CF4519A","room_id":20000002,"name":"视频会议终端2","namecode":"shipinhuiyizhongduan2;sphyzd2","avatar":"/assets/img/device.png","is_device":"1","area_code":"","mobile":"","email":""},{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}]},{"id":10,"eid":100000,"name":"啊是大","users":[{"id":2,"identifier":"5D1821064CF4519A","room_id":20000002,"name":"视频会议终端2","namecode":"shipinhuiyizhongduan2;sphyzd2","avatar":"/assets/img/device.png","is_device":"1","area_code":"","mobile":"","email":""},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}]}]
         * department : [{"id":1,"pid":0,"name":"软件事业部","users":[],"spacer":"","childlist":[{"id":3,"pid":1,"name":"PHP开发组","users":[{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}],"spacer":"","childlist":[]},{"id":4,"pid":1,"name":"大牛组","users":[{"id":2,"identifier":"5D1821064CF4519A","room_id":20000002,"name":"视频会议终端2","namecode":"shipinhuiyizhongduan2;sphyzd2","avatar":"/assets/img/device.png","is_device":"1","area_code":"","mobile":"","email":""},{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}],"spacer":"","childlist":[]},{"id":5,"pid":1,"name":"Java开发组","users":[{"id":2,"identifier":"5D1821064CF4519A","room_id":20000002,"name":"视频会议终端2","namecode":"shipinhuiyizhongduan2;sphyzd2","avatar":"/assets/img/device.png","is_device":"1","area_code":"","mobile":"","email":""},{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}],"spacer":"","childlist":[]}]},{"id":16,"pid":0,"name":"信息部","users":[],"spacer":"","childlist":[{"id":17,"pid":16,"name":"PHP技术部门","users":[{"id":2,"identifier":"5D1821064CF4519A","room_id":20000002,"name":"视频会议终端2","namecode":"shipinhuiyizhongduan2;sphyzd2","avatar":"/assets/img/device.png","is_device":"1","area_code":"","mobile":"","email":""},{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}],"spacer":"","childlist":[]},{"id":23,"pid":16,"name":"信息部2","users":[{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}],"spacer":"","childlist":[]}]}]
         */

        private String name;
        private int id;
        private List<Users> users;
        private List<Discuss> discuss;
        private List<Department> department;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public List<Users> getUsers() {
            return users;
        }

        public void setUsers(List<Users> users) {
            this.users = users;
        }

        public List<Discuss> getDiscuss() {
            return discuss;
        }

        public void setDiscuss(List<Discuss> discuss) {
            this.discuss = discuss;
        }

        public List<Department> getDepartment() {
            return department;
        }

        public void setDepartment(List<Department> department) {
            this.department = department;
        }

        public static class Users {
            /**
             * id : 2
             * identifier : 5D1821064CF4519A
             * room_id : 20000002
             * name : 视频会议终端2
             * namecode : shipinhuiyizhongduan2;sphyzd2
             * avatar : /assets/img/device.png
             * is_device : 1
             * area_code :
             * mobile :
             * email :
             */

            private int id;
            private String identifier;
            private long room_id;
            private String name;
            private String namecode;
            private String avatar;
            private String is_device;
            private String area_code;
            private String mobile;
            private String email;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getIdentifier() {
                return identifier;
            }

            public void setIdentifier(String identifier) {
                this.identifier = identifier;
            }

            public long getRoom_id() {
                return room_id;
            }

            public void setRoom_id(long room_id) {
                this.room_id = room_id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getNamecode() {
                return namecode;
            }

            public void setNamecode(String namecode) {
                this.namecode = namecode;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getIs_device() {
                return is_device;
            }

            public void setIs_device(String is_device) {
                this.is_device = is_device;
            }

            public String getArea_code() {
                return area_code;
            }

            public void setArea_code(String area_code) {
                this.area_code = area_code;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getEmail() {
                return email;
            }

            public void setEmail(String email) {
                this.email = email;
            }
        }

        public static class Discuss {
            /**
             * id : 7
             * eid : 100000
             * name : 讨论组7
             * users : [{"id":2,"identifier":"5D1821064CF4519A","room_id":20000002,"name":"视频会议终端2","namecode":"shipinhuiyizhongduan2;sphyzd2","avatar":"/assets/img/device.png","is_device":"1","area_code":"","mobile":"","email":""},{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}]
             */

            private int id;
            private int eid;
            private String name;
            private List<UsersX> users;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getEid() {
                return eid;
            }

            public void setEid(int eid) {
                this.eid = eid;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public List<UsersX> getUsers() {
                return users;
            }

            public void setUsers(List<UsersX> users) {
                this.users = users;
            }

            public static class UsersX {
                /**
                 * id : 2
                 * identifier : 5D1821064CF4519A
                 * room_id : 20000002
                 * name : 视频会议终端2
                 * namecode : shipinhuiyizhongduan2;sphyzd2
                 * avatar : /assets/img/device.png
                 * is_device : 1
                 * area_code :
                 * mobile :
                 * email :
                 */

                private int id;
                private String identifier;
                private long room_id;
                private String name;
                private String namecode;
                private String avatar;
                private String is_device;
                private String area_code;
                private String mobile;
                private String email;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getIdentifier() {
                    return identifier;
                }

                public void setIdentifier(String identifier) {
                    this.identifier = identifier;
                }

                public long getRoom_id() {
                    return room_id;
                }

                public void setRoom_id(long room_id) {
                    this.room_id = room_id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getNamecode() {
                    return namecode;
                }

                public void setNamecode(String namecode) {
                    this.namecode = namecode;
                }

                public String getAvatar() {
                    return avatar;
                }

                public void setAvatar(String avatar) {
                    this.avatar = avatar;
                }

                public String getIs_device() {
                    return is_device;
                }

                public void setIs_device(String is_device) {
                    this.is_device = is_device;
                }

                public String getArea_code() {
                    return area_code;
                }

                public void setArea_code(String area_code) {
                    this.area_code = area_code;
                }

                public String getMobile() {
                    return mobile;
                }

                public void setMobile(String mobile) {
                    this.mobile = mobile;
                }

                public String getEmail() {
                    return email;
                }

                public void setEmail(String email) {
                    this.email = email;
                }
            }
        }

        public static class Department {
            /**
             * id : 1
             * pid : 0
             * name : 软件事业部
             * users : []
             * spacer :
             * childlist : [{"id":3,"pid":1,"name":"PHP开发组","users":[{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}],"spacer":"","childlist":[]},{"id":4,"pid":1,"name":"大牛组","users":[{"id":2,"identifier":"5D1821064CF4519A","room_id":20000002,"name":"视频会议终端2","namecode":"shipinhuiyizhongduan2;sphyzd2","avatar":"/assets/img/device.png","is_device":"1","area_code":"","mobile":"","email":""},{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}],"spacer":"","childlist":[]},{"id":5,"pid":1,"name":"Java开发组","users":[{"id":2,"identifier":"5D1821064CF4519A","room_id":20000002,"name":"视频会议终端2","namecode":"shipinhuiyizhongduan2;sphyzd2","avatar":"/assets/img/device.png","is_device":"1","area_code":"","mobile":"","email":""},{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}],"spacer":"","childlist":[]}]
             */

            private int id;
            private int pid;
            private String name;
            private String spacer;
            private List<Users> users;
            private List<Childlist> childlist;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getPid() {
                return pid;
            }

            public void setPid(int pid) {
                this.pid = pid;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getSpacer() {
                return spacer;
            }

            public void setSpacer(String spacer) {
                this.spacer = spacer;
            }

            public List<Users> getUsers() {
                return users;
            }

            public void setUsers(List<Users> users) {
                this.users = users;
            }

            public List<Childlist> getChildlist() {
                return childlist;
            }

            public void setChildlist(List<Childlist> childlist) {
                this.childlist = childlist;
            }

            public static class Childlist {
                /**
                 * id : 3
                 * pid : 1
                 * name : PHP开发组
                 * users : [{"id":1,"identifier":"13575790001","room_id":9000000000,"name":"demo002","namecode":"demo002;demo002","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790001","email":"admin@163.com"},{"id":3,"identifier":"13575790004","room_id":9000000001,"name":"demo001","namecode":"demo001;demo001","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790004","email":"88079986@qq.com"},{"id":25,"identifier":"13575790111","room_id":9000000016,"name":"test1","namecode":"test1;test1","avatar":"/uploads/20181105/12657b260ed6048693a7b109f629423c.png","is_device":"0","area_code":"+86","mobile":"13575790111","email":"88079982@qq.com"}]
                 * spacer :
                 * childlist : []
                 */

                private int id;
                private int pid;
                private String name;
                private String spacer;
                private List<UsersXX> users;
                private List<?> childlist;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getPid() {
                    return pid;
                }

                public void setPid(int pid) {
                    this.pid = pid;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getSpacer() {
                    return spacer;
                }

                public void setSpacer(String spacer) {
                    this.spacer = spacer;
                }

                public List<UsersXX> getUsers() {
                    return users;
                }

                public void setUsers(List<UsersXX> users) {
                    this.users = users;
                }

                public List<?> getChildlist() {
                    return childlist;
                }

                public void setChildlist(List<?> childlist) {
                    this.childlist = childlist;
                }

                public static class UsersXX {
                    /**
                     * id : 1
                     * identifier : 13575790001
                     * room_id : 9000000000
                     * name : demo002
                     * namecode : demo002;demo002
                     * avatar : /uploads/20181105/12657b260ed6048693a7b109f629423c.png
                     * is_device : 0
                     * area_code : +86
                     * mobile : 13575790001
                     * email : admin@163.com
                     */

                    private int id;
                    private String identifier;
                    private long room_id;
                    private String name;
                    private String namecode;
                    private String avatar;
                    private String is_device;
                    private String area_code;
                    private String mobile;
                    private String email;

                    public int getId() {
                        return id;
                    }

                    public void setId(int id) {
                        this.id = id;
                    }

                    public String getIdentifier() {
                        return identifier;
                    }

                    public void setIdentifier(String identifier) {
                        this.identifier = identifier;
                    }

                    public long getRoom_id() {
                        return room_id;
                    }

                    public void setRoom_id(long room_id) {
                        this.room_id = room_id;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public String getNamecode() {
                        return namecode;
                    }

                    public void setNamecode(String namecode) {
                        this.namecode = namecode;
                    }

                    public String getAvatar() {
                        return avatar;
                    }

                    public void setAvatar(String avatar) {
                        this.avatar = avatar;
                    }

                    public String getIs_device() {
                        return is_device;
                    }

                    public void setIs_device(String is_device) {
                        this.is_device = is_device;
                    }

                    public String getArea_code() {
                        return area_code;
                    }

                    public void setArea_code(String area_code) {
                        this.area_code = area_code;
                    }

                    public String getMobile() {
                        return mobile;
                    }

                    public void setMobile(String mobile) {
                        this.mobile = mobile;
                    }

                    public String getEmail() {
                        return email;
                    }

                    public void setEmail(String email) {
                        this.email = email;
                    }
                }
            }
        }
    }
}
